﻿//-----------------------------------------------------------------------
// <copyright file="Worker.cs" company="FER">
//     Copyright (c) All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace NMBP.Models
{
    /// <summary>
    /// Represents one worker
    /// </summary>
    public class Worker : Person
    {
        /// <summary>
        /// Gets or sets Workers sallary
        /// </summary>
        public float Sallary { get; set; }

        /// <summary>
        /// Gets or sets Workers Department
        /// </summary>
        public Department Department { get; set; }

        /// <summary>
        /// Gets or sets workers VPN number
        /// </summary>
        public string VpnNumber { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether Worker is Manager
        /// <remarks>Only managers can run their Department</remarks>
        /// </summary>
        public bool IsManager { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether worker is also an admin
        /// </summary>
        public bool IsAdmin { get; set; }
    }
}
